package com.flmz.system.service.question;

import com.flmz.system.domain.question.dto.QuestionAddDTO;
import com.flmz.system.domain.question.dto.QuestionEditDTO;
import com.flmz.system.domain.question.dto.QuestionQueryDTO;
import com.flmz.system.domain.question.vo.QuestionDetailVO;
import com.flmz.system.domain.question.vo.QuestionVO;

import java.util.List;

public interface IQuestionService {
	List<QuestionVO> list(QuestionQueryDTO questionQueryDTO);

	boolean add(QuestionAddDTO questionAddDTO);

	QuestionDetailVO detail(Long questionId);

	int edit(QuestionEditDTO questionEditDTO);

	int delete(Long questionId);
}
